package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.page.PageQuery;
import com.ruoyi.common.core.page.PageUtil;
import com.ruoyi.system.domain.TDevicePartsRecord;
import com.ruoyi.system.mapper.TDevicePartsRecordMapper;
import com.ruoyi.system.service.ITDevicePartsRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TDevicePartsRecordServiceImpl extends ServiceImpl<TDevicePartsRecordMapper, TDevicePartsRecord> implements ITDevicePartsRecordService {
    @Override
    public List<TDevicePartsRecord> listPartsRecord(Long projectId, PageQuery pageQuery) {
        PageUtil.startPage(pageQuery);
        return this.baseMapper.listPartsRecord();
    }
}
